
/*!
 * \file SocketHooker.h
 * \date 2015/11/09 21:10
 *
 * \author HappyXiaox
 * Contact: 475647575@qq.com
 *
 * \brief Hook network status
 *
 * Hook these functions:
 * connect
 * accept
 * send
 * recv
 * sendto (If i have enough time, this may be hooked)
 * recvfrom (If i have enough time, this may be hooked)
 *
 * \note
*/


#ifndef SocketHooker_h__
#define SocketHooker_h__

#include "AbstractHooker.h"

class SocketHooker : public AbstractHooker
{
protected:
    virtual bool initHook() final{  return true; }
    virtual void hookAll() final;
    virtual void unhookAll() final;
};

#endif // SocketHooker_h__